package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 企业订单明细
 *
 * @TableName enterprise_order_details
 */
@Data
public class EnterpriseOrderDetails implements Serializable {
    /**
     * 订单明细编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单编号
     */
    private String enterpriseOrderSn;

    /**
     * 套餐ID
     */
    private String comboId;

    /**
     * 套餐原价
     */
    private BigDecimal comboPrice;

    /**
     * 套餐名称
     */
    private String comboName;

    /**
     * 购买套餐数量
     */
    private Integer comboNum;

    /**
     * 剩余未核销套餐数量
     */
    private Integer comboSurplusNum;

    /**
     * 支付金额
     */
    private BigDecimal payMoney;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}